package com.itbupt.domain.rebate.service;

import com.itbupt.domain.rebate.model.entity.BehaviorEntity;
import com.itbupt.domain.rebate.model.entity.BehaviorRebateOrderEntity;

import java.util.List;

/**
 * @Author dingchang
 * @Date 2025/4/9 14:56
 * @Description: 行为返利服务接口
 */
public interface IBehaviorRebateService {

    /**
     * 创建行为动作的入账订单
     * @param behaviorEntity 行为实体对象
     * @return 订单ID
     */
    List<String> createOrder(BehaviorEntity behaviorEntity);

    /**
     * 查询订单中已经签到的信息
     * @param userId
     * @param outBusinessNo 今天的时间 - 查看今天是否签到
     * @return
     */
    List<BehaviorRebateOrderEntity> queryOrderByOutBusinessNo(String userId, String outBusinessNo);

}
